package com.ls.lserp.modules.produce.dao;





import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.produce.entity.ProducePlan;
@MyBatisDao
public interface ProducePlanDao extends CrudDao<ProducePlan>{
	
	//获取班组
	public List<ProducePlan> findGroupList();
	//修改生产计划状态
	public int updateStatus(ProducePlan producePlan);
	//更新完成状态
	public int updateCompleteStatus(ProducePlan producePlan);
	//更新订单数量
	public int updateOrderQuantity(ProducePlan producePlan);
	//通过生产计划号获取数据
	public ProducePlan getPlanByNo(ProducePlan producePlan);
	
}
